Detection of Weak Unstable Predicates in Distributed Programs

نویسندگان

  • Vijay K. Garg
  • Brian Waldecker
چکیده

|This paper discusses detection of global predicates in a distributed program. Earlier algorithms for detection of global predicates proposed by Chandy and Lamport work only for stable predicates. A predicate is stable if it does not turn false once it becomes true. Our algorithms detect even unstable predicates without excessive overhead. In the past, such predicates have been regarded as too dii-cult to detect. The predicates are speciied using a logic described formally in this paper. We discuss detection of weak conjunctive predicates which are formed by conjunction of predicates local to processes in the system. Our detection methods will detect if such a predicate is true for any in-terleaving of events in the system, whether the predicate is stable or not. Also, any predicate which can be reduced to a set of weak conjunctive predicates is detectable. This class of predicates captures many global predicates that are of interest to a programmer. The message complexity of our algorithm is bounded by the number of messages used by the program. The main application of our results are in debugging and testing of distributed programs. Our algorithms have been incorporated in a distributed debugger which runs on a network of Sun Workstations under SunOS.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Detection of Strong Unstable Predicates in Distributed Programs

This paper discusses detection of global predicates in a distributed program. A run of a distributed program results in a set of sequential traces, one for each process. These traces may be combined to form many global sequences consistent with the single run of the program. A strong global predicate is true in a run if it is true for all global sequences consistent with the run. We present alg...

متن کامل

Efficient Detection of Restricted Classes of Global Predicates

We show that the problem of predicate detection in distributed systems is NP-complete. We introduce a class of predicates, linear predicates, such that for any linear predicate B there exists an efficient detection of the least cut satisfyingB. The dual of linearity is post-linearity. These properties generalize several known properties of distributed systems, such as the set of consistent cuts...

متن کامل

Efficient Distributed Detection of Conjunctions of Local Predicates

Global predicate detection is a fundamental problem in distributed systems and nds applications in many domains such as testing and debugging distributed programs. This paper presents two eecient distributed algorithms to detect conjunctive form global predicates in distributed systems. The algorithms detect the rst consistent global state that satisses the predicate even if the predicate is un...

متن کامل

A Distributed Algorithm for Unstable Global Predicate Evaluation with Approximately Synchronized Clocks

The ability to evaluate predicates over the global state of a computation is fundamental to distributed application development and control. Algorithms structured on the use of approximately synchronized clocks, for which there is a known bound on the difference of the readings of any two clocks at the same instant of time, are able to detect the occurrence of certain predicates at a point in t...

متن کامل

Conjunctive Predicate Detection

This paper discusses eecient detection of global predicates in a distributed program. Previous work in detection of global predicates was restricted to predicates that could be speciied as a boolean formula of local predicates. Many properties in distributed systems, however, use the state of channels. In this paper, we introduce the concept of a channel predicate and provide an eecient algorit...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • IEEE Trans. Parallel Distrib. Syst.

دوره 5  شماره 

صفحات  -

تاریخ انتشار 1994